.class Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;
.super Lcom/openfeint/internal/request/BaseRequest;
.source "WebViewCache.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->onResponseOffMainThread(I[B)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;


# direct methods
.method constructor <init>(Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;

    .line 496
    invoke-direct {p0}, Lcom/openfeint/internal/request/BaseRequest;-><init>()V

    return-void
.end method


# virtual methods
.method public method()Ljava/lang/String;
    .locals 1

    .prologue
    .line 497
    const-string v0, "GET"

    return-object v0
.end method

.method public onResponse(I[B)V
    .locals 0
    .parameter "responseCode"
    .parameter "body"

    .prologue
    .line 499
    return-void
.end method

.method public onResponseOffMainThread(I[B)V
    .locals 3
    .parameter "responseCode"
    .parameter "body"

    .prologue
    .line 501
    const/16 v0, 0xc8

    if-ne v0, p1, :cond_0

    .line 503
    :try_start_0
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;

    new-instance v1, Lcom/openfeint/internal/ui/WebViewCache$ManifestData;

    invoke-direct {v1, p2}, Lcom/openfeint/internal/ui/WebViewCache$ManifestData;-><init>([B)V

    #setter for: Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->data:Lcom/openfeint/internal/ui/WebViewCache$ManifestData;
    invoke-static {v0, v1}, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->access$0(Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;Lcom/openfeint/internal/ui/WebViewCache$ManifestData;)V

    .line 505
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;

    #calls: Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->finishManifest()V
    invoke-static {v0}, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->access$1(Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;)V

    .line 506
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;

    invoke-virtual {p0}, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->getResponse()Lorg/apache/http/HttpResponse;

    move-result-object v1

    #calls: Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->updateLastModifiedFromResponse(Lorg/apache/http/HttpResponse;)V
    invoke-static {v0, v1}, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->access$2(Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;Lorg/apache/http/HttpResponse;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 513
    :goto_0
    return-void

    .line 509
    :cond_0
    sget-object v0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->TAG:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "finishWithoutLoading "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/openfeint/internal/OpenFeintInternal;->log(Ljava/lang/String;Ljava/lang/String;)V

    .line 511
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;

    #getter for: Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->this$0:Lcom/openfeint/internal/ui/WebViewCache;
    invoke-static {v0}, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->access$3(Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;)Lcom/openfeint/internal/ui/WebViewCache;

    move-result-object v0

    #calls: Lcom/openfeint/internal/ui/WebViewCache;->finishWithoutLoading()V
    invoke-static {v0}, Lcom/openfeint/internal/ui/WebViewCache;->access$1(Lcom/openfeint/internal/ui/WebViewCache;)V

    goto :goto_0

    .line 507
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public path()Ljava/lang/String;
    .locals 1

    .prologue
    .line 498
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest$1;->this$1:Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;

    invoke-virtual {v0}, Lcom/openfeint/internal/ui/WebViewCache$ManifestRequest;->path()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
